using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Office.Server.Search.Query;
using System.Web;
using Microsoft.SharePoint;

namespace CKS.EBE.Search
{
    public class SearchKeywordResults : SearchResults
    {
        protected override Microsoft.Office.Server.Search.Query.Query GetQuery()
        {
            string q = HttpContext.Current.Request[QueryParameter];
            KeywordQuery kq = new KeywordQuery(SPContext.Current.Site);

            kq.QueryText = q;

            return kq;
        }
    }
}
